package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.example.bean.Student;
import org.example.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:StudentService
 * @Date:2025/9/9 13:33
 */
@Service
public interface StudentService extends IService<Student> {
    //添加学生数据
    JsonResult SaveStudent(Student student);

    //按学生id查找
    JsonResult findStudentById(String id);

    //按学生学号查找
    JsonResult findStudentByNo(String studentNo);

}
